package view.item
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	
	public class MCBitmap extends Bitmap
	{
		public function MCBitmap(bitmapData:BitmapData=null, pixelSnapping:String="auto", smoothing:Boolean=false)
		{
			super(bitmapData, pixelSnapping, smoothing);
		}
		
		
		override public function set bitmapData(value:BitmapData):void
		{
			super.bitmapData = value;
			
			this.x = -this.width/2;
			this.y = -this.height;
		}
	}
}